//
//  SQLiteDataBaseManager.h
//  Homework_18
//
//  Created by 徐昊 on 16/8/8.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class Contact;
NS_ASSUME_NONNULL_BEGIN
@interface SQLiteDataBaseManager : NSObject {
    sqlite3 *dbPoint;
}
+ (SQLiteDataBaseManager *)shareManager;

/** 打开 */
- (BOOL)openSQLite3;
/** 关闭 */
- (BOOL)closeSQLite3;
/** 创建表 */
- (BOOL)createTable;
/** 插入数据 */
- (BOOL)insertContact:(Contact *)contact;
@end
NS_ASSUME_NONNULL_END
